DateTimeToDate (dateTime)

Basic and Crystal syntax.

Arguments

dateTime is a DateTime value.

Returns

Date value

Action

Evaluates the DateTime value specified and converts it to a Date value.

Examples

The following example is applicable to both Basic and Crystal syntax:

DateTimeToDate(#11/01/1998 11:15:00 AM#)

Returns the Date value 11/01/1998.

Comments

For new formulas, you can use the CDate or DateValue functions instead of DateTimeToDate when converting a DateTime value to a Date value. The CDate and DateValue functions are more efficient since they are not UFLs.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com